package org.linphone.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * Created by Xiang on 2017/12/1.
 */

public class SipConfOpenHelper extends SQLiteOpenHelper {
	public SipConfOpenHelper(Context context) {
		super(context, "sipconf.db", null, 1);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL("create table collection " +
				"(_id integer primary key autoincrement , state varchar, username varchar, psd varchar, domain varchar, musicbg varchar,broadcastnum varchar, broadcastarea varchar);");
	}

	@Override
	public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) {

	}
}
